package staff.util;

import java.util.Collection;

public class StringUtils {
    /** Delimiter for employe fields in text file */
    public static final String TXT_PARAM_DELIMITER = ";";

    /** Returns max string lenght in collection of string */
    public static int getMaxStringLenght(Collection<String> strings) {
        int result = 0;
        for (String s : strings) {
            if (s.length() > result) {
                result = s.length();
            }
        }
        return result;
    }
}
